package concurrency;

class DriveTrainRobot extends Robot {
    public DriveTrainRobot(RobotPool pool) {
        super(pool);
    }

    @Override
    public void performService() {
        System.out.println(this + " installing DriveTrain");
        mAssembler.car().addDriveTrain();
    }
}
